<?php

  $time = time()+10;

  $id = encrypt('905'.'#'.$time);
  echo '<a href="verify.php?id='.$id.'">Click Here</a>';



  var_dump($id);



  function encrypt($string='')
  {
    $string = trim($string);
    // This is 32 bit salt value change it
    $salt = '9iwjwj455aufj4669gafmdfkt244h45t';

    $encrypted = base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256,
                                              md5($salt),
                                              $string,
                                              MCRYPT_MODE_CBC,
                                              md5(md5($salt))
                                             )
                              );
    return
    ($encrypted);
  }
